<?php
//定义项目目录与名称
define("BASE_PATH",dirname(__FILE__));
define("APP_PATH",dirname(__FILE__).'/wap');
define("APP_NAME",'wap');

//定义项目配置文件
$spConfig = require_once(APP_PATH.'/config/config.php');

//全站配置
global $Site_Config;
$Site_Config = require_once('./config/site_config.php');

define("SP_PATH",dirname(__FILE__).'/SpeedPHP');
require(SP_PATH."/SpeedPHP.php");
spRun();